<?php
namespace app\api\model;

use think\Model;
use Firebase\JWT\JWT;


class User extends Model
{
    public function __construct($data = []) {
        parent::__construct($data);
    }

    public function index(){
        $key = "example_key";
        $token = array(
            "iss" => "http://example.org",
            "aud" => "http://example.com",
            "iat" => 1356999524,
            "nbf" => 1357000000
        );
    }
}